### Function Description

Disable script version, once successfully disabled, cannot be restored! And any job steps that reference this version
online will not be able to be executed, please be cautious when operating.

### Request Parameters

#### Interface parameters

| Fields            | Type   | Required | Description                                                                                                 |
|-------------------|--------|----------|-------------------------------------------------------------------------------------------------------------|
| bk_scope_type     | string | yes      | Resource scope type. Optional values: biz - Business，biz_set - Business Set                                 |
| bk_scope_id       | string | yes      | Resource scope ID. Corresponds to bk_scope_type, which means business ID or business set ID                 |
| bk_biz_id         | long   | yes      | Deprecated. Business ID. This field has been deprecated and replaced by the field bk_scope_type+bk_scope_id |
| script_id         | string | yes      | Script id                                                                                                   |
| script_version_id | long   | yes      | Script version id                                                                                           |

### Example of request

```json
{
    "bk_scope_type": "biz",
    "bk_scope_id": "2",
    "script_id": "4a350b0e0707450e93326f6ace921072",
    "script_version_id": 1000019
}
```

### Example of responses

```json
{
    "code": 0,
    "result": true,
    "data": {
        "id": 1000019,
        "script_id": "4a350b0e0707450e93326f6ace921072",
        "status": 3
    },
    "job_request_id": "xxx"
}
```

### Response Description

{% include '_generic_response.md.j2' %}

#### data

| Fields    | Type   | Never null | Description                                                               |
|-----------|--------|------------|---------------------------------------------------------------------------|
| script_id | string | yes        | Script id                                                                 |
| id        | long   | yes        | Script version id                                                         |
| status    | int    | yes        | Script version status (0: Not online, 1: Online, 2: Offline, 3: Disabled) |
